package com.smile.frame.api.demo.enums;

import com.smile.frame.common.exception.ErrorCodeEnumInterface;
import lombok.Getter;

/**
 * 监控看板 返回消息枚举
 *
 * @author LGC
 * @date 2021/8/6 18:15

 */
@Getter
public enum DemoErrorCodeEnum implements ErrorCodeEnumInterface {

    /**
     *
     */
    DEMO_TEST_ERROR(1000, "demo_test_error"),

    ;

    public final Integer code;
    public final String msg;

    DemoErrorCodeEnum(Integer code, String msg) {
        this.code = code;
        this.msg = msg;
    }
}
